//
//  XJTabBar.h
//  AppFrame
//
//  Created by GXJ on 2017/2/24.
//  Copyright © 2017年 GXJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XJTabBar;

@protocol XJTabBarDelegate <NSObject>

@optional
- (void)tabBar:(XJTabBar *)tabBar didSelectButtonFrom:(NSInteger)from to:(NSInteger)to;

@end

@interface XJTabBar : UIView

@property (nonatomic, weak)id<XJTabBarDelegate> delegate;
- (void)addTabBarItemWithItem:(UITabBarItem *)item;

@end
